import request from '@/utils/request'

export const getHouses = (cityId) => {
  return request({
    url: '/houses',
    method: 'get',
    params: { cityId }
  })
}

// 获取详细的城市数据
export const getSearchConditions = (id) => {
  return request({
    url: '/houses/condition',
    method: 'get',
    params: { id }
  })
}
